def cookie_get_manual():
    cookie=input("复制cookie\n")
    with open('cookies.txt', 'w+') as file:
        # 将cookie写入文件
        file.write(cookie)
    print("写入成功")
    return cookie
if __name__ == '__main__':
    cookie_get_manual()